let express = require('express')
let articleController = require('../controller/articleController')
let router = express.Router()


router.get('/article/add', articleController.showArticleAddPage)

router.post('/article/add',articleController.postArticle)

router.get('/article/info',articleController.showDetailPage)

router.get('/article/edit',articleController.showArticleEdit)

router.post('/article/edit',articleController.editArticle)

module.exports = router